package ex;

import java.util.Scanner;

/**
 * @author 小李要吃鱼
 * @date 2021-01-17 17:04
 */
public class Ex2 {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入您的分数");
        int grade = sc.nextInt();

//       String lever;\
//        int grade = 90;
      String level;

        switch (grade/10){
            case 10:
            case 9: level = "优秀";break;
            case 8: level = "良好"; break;
            case 7: level = "一般"; break;
            case 6: level = "及格"; break;
            default: level = "不及格";
        }
        System.out.println(level);

    }

}
